include $(GNUSTEP_MAKEFILES)/common.make

LIBRARY_NAME = libringo
libringo_CFLAGS += -I../mach/libkqueue/include -I../include -Ilibdispatch -Ilibdispatch/src

libringo_C_FILES=compiler_rt/data.c compiler_rt/runtime.c libdispatch/src/source.c\
libdispatch/src/object.c libdispatch/src/shims/mach.c libdispatch/src/shims/time.c libdispatch/src/shims/tsd.c libdispatch/src/time.c\
libdispatch/src/benchmark.c libdispatch/src/apply.c libdispatch/src/queue_kevent.c libdispatch/src/legacy.c libdispatch/src/source_kevent.c\
libdispatch/src/semaphore.c libdispatch/src/queue.c libdispatch/src/once.c dyld.c

libringo_LDFLAGS+=-Wl,--no-undefined -lpthread -lrt -lmach -L../mach/obj -ldl


include $(GNUSTEP_MAKEFILES)/library.make
